package com.dunshan.prcexp.config;

import com.dunshan.prcexp.config.Init.ResponseType;
import com.dunshan.prcexp.config.Init.Log;
/**
 * @author liwen406
 * @program: dunshan-pef
 * @description:
 * @date 2022-08-24 20:28:37
 */
public class Config {
    private Log log;
    private ResponseType responseType;

    public Config() {
        this.responseType = Init.ResponseType.JSON;
        this.log = Log.NONE;
    }

    public Config Log(Log log) {
        this.log = log;
        return this;
    }

    public Config ResponseType(ResponseType responseType) {
        this.responseType = responseType;
        return this;
    }

    public Log getLog() {
        return this.log;
    }

    public ResponseType getResponseType() {
        return this.responseType;
    }
}
